/**
 * 
 */
package com.agrec.client.actors;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * @author Alaa Gharbawi
 *
 */
public class Pipeline implements IsSerializable {

	/**
	 * A Pipeline is the process for an applying for a job. A Pipeline 
	 * contains three elements. NameID, positionID, and interviewID.
	 * An interview cannot exist without a name and a position 
	 */
	
	private int id;
	private int nameID;
	private int positionID;
	private int interviewID;
	
	public Pipeline() {
		id(0);
		nameID(0);
		positionID(0);
		interviewID(0);
	}
	
	public Pipeline(int id, int nameID, int positionID, int interviewID) {
		id(id);
		nameID(nameID);
		positionID(positionID);
		interviewID(interviewID);
	}

	public void id(int id) { this.id = id; }
	public int id() { return this.id; }
	
	public void nameID(int nameID) { this.nameID = nameID; }
	public int nameID() { return this.nameID; }
	
	public void positionID(int positionID) { this.positionID = positionID; }
	public int positionID() { return this.positionID; }
	
	public void interviewID(int interviewID) { this.interviewID = interviewID; }
	public int interviewID() { return this.interviewID; }
	

}
